﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userdituprf.aspx.cs" Inherits="weba.userdituprf" %>

<%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1GridView" tagprefix="wijmo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
        #uservid {
            width: 100%;
            overflow: scroll;
            height: 900px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="uservid">
    
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" TableName="People" EnableDelete="True" EnableInsert="True" EnableUpdate="True" EnableViewState="False">
        </asp:LinqDataSource>
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="LinqDataSource1" CellPadding="4" GridLines="None" ForeColor="#333333" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdated="GridView1_RowUpdated" OnRowUpdating="GridView1_RowUpdating">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="id" HeaderText="id" SortExpression="id" />
                <asp:BoundField DataField="firstName" HeaderText="firstName" SortExpression="firstName" />
                <asp:BoundField DataField="title" HeaderText="title" SortExpression="title" />
                <asp:BoundField DataField="lx" HeaderText="lx" SortExpression="lx" />
                <asp:BoundField DataField="ly" HeaderText="ly" SortExpression="ly" />
                <asp:BoundField DataField="city" HeaderText="city" SortExpression="city" />
                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="~/ditua.aspx?id={0}" HeaderText="位置" Text="编辑位置" />
               
                <asp:CommandField ShowEditButton="True" />
               
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:Button ID="Button1" runat="server" Text="新增行" OnClick="Button1_Click" style="height: 21px" />
    </div>
    </form>
</body>
</html>
